package microcredit.model.domain;

public enum LoanExtensionReason {

	/**
	 * Default plan - no extensions
	 */
	D,
	
	/**
	 * Economic crisis
	 */
	C,
	/**
	 * Business plan failure
	 */
	B,
	/**
	 * Theft
	 */
	T,
	/**
	 * Personal condition
	 */
	P,
	/**
	 * Other
	 */
	O;
	
	public String toString() {
		switch (this) {
		case D : return "Initial plan";
		case C : return "Economic crisis";
		case B : return "Business plan failure";
		case T : return "Theft";
		case P : return "Personal condition";
		case O : return "Other";
		}
		return "?";
	};
	
}
